package com.hunmengwl.oauth.common.enums;

/**
 * @author hunmeng
 * @create 2020-01-03 10:46
 */
public enum StatusEnum {

    /**
     * 200,"成功"
     */
    SUCCESS(200,"成功"),

    /**
     * 300,"失败"
     */
    FAIL(300,"失败"),

    /**
     * 201,"本页读取成功"
     */
    NEXT_PAGE(201,"本页读取成功"),

    /**
     * 301,"读取JSON超时/错误"
     */
    FAIL_JSON(301,"读取JSON超时"),

    /**
     * 返回为[]的数据
     */
    NULL_JSON(302,"读取JSON内容为[]");

    public int Code;
    public String msg;


    StatusEnum(int code, String msg) {
        Code = code;
        this.msg = msg;
    }
}
